package com.project.frba.bifront.client.rpc;

import java.util.Map;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.project.frba.bifront.client.model.BarChartInformation;
import com.project.frba.bifront.client.model.Dashboard;
import com.project.frba.bifront.client.model.LineChartInformation;
import com.project.frba.bifront.client.model.PieChartInformation;

@RemoteServiceRelativePath("chartServices")
public interface ChartServices extends RemoteService {
	
	public String doPieChart(PieChartInformation info);
	
	public String doChart(String serializedChart, Integer width, Integer height);
	
	public String doLineChart(LineChartInformation chartInfo);

	public String doBarChart(BarChartInformation chartInfo);
	
	public Map<Integer, String> doChart(Dashboard dashboard);

}
